<?php


for ($i = 0; $i < 1000; $i++) {
    $arr[] = array_pad([], 1000, 1);
}

$s = time();
mulplus(2, $arr, $arr, 3, $arr);
$e = time();

echo "linalg use: ", $e - $s, "s";

sleep(10000);
